package jianli;

// 定义Person类
public class Person {
    protected String name;
    protected int age;
    protected String address;

    public Person(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }

    public void info() {
        System.out.println("姓名：" + name);
        System.out.println("年龄：" + age);
        System.out.println("住址：" + address);
    }
}
